projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d994d
)
testscrolledwindow: GtkMenuButton != GtkContainer
author
Daniel Boles
<dboles.src@gmail.com>
Tue, 21 May 2019 20:19:40 +0000
(21:19 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Tue, 21 May 2019 20:21:01 +0000
(21:21 +0100)
It's not anymore, so don't cast it to one... Use the new :label instead.
tests/testscrolledwindow.c
patch
|
blob
|
history
diff --git
a/tests/testscrolledwindow.c
b/tests/testscrolledwindow.c
index 530dd0b1a98749e507891623eb7d22e849a5ac21..4bfbbcd8e7309a354064185f4e5798e088405e58 100644
(file)
--- a/
tests/testscrolledwindow.c
+++ b/
tests/testscrolledwindow.c
@@
-217,7
+217,7
@@
scrollable_policy (void)
widget = gtk_menu_button_new ();
gtk_menu_button_set_popover (GTK_MENU_BUTTON (widget), popover);
- gtk_
container_add (GTK_CONTAINER (widget), gtk_label_new ("Popover")
);
+ gtk_
menu_button_set_label (GTK_MENU_BUTTON (widget), "Popover"
);
gtk_container_add (GTK_CONTAINER (cntl), widget);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);